package com.fyt.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author gdy
 * @since 2023-12-20
 */
@Getter
@Setter
@ApiModel(value = "Pasture对象", description = "")
public class Pasture implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "p_id", type = IdType.AUTO)
    private Integer pId;

    @ApiModelProperty("牧场名称，最长100")
    private String pastureName;

    @ApiModelProperty("存栏量")
    private Integer inventory;

    @ApiModelProperty("场地规模，不小于100，不高于999999")
    private Long venueSize;

    @ApiModelProperty("养殖规模，最大999999")
    private Long farmSize;

    @ApiModelProperty("省")
    private String province;

    @ApiModelProperty("市")
    private String city;

    @ApiModelProperty("区")
    private String district;

    @ApiModelProperty("地址编号")
    private Integer cityId;

    @ApiModelProperty("详细地址")
    private String address;

    @ApiModelProperty("经度")
    private BigDecimal longitude;

    @ApiModelProperty("纬度")
    private  BigDecimal latitude;

    @ApiModelProperty("字典值编号")
    private Integer id;

    @ApiModelProperty("状态，0-启用，1-禁用")
    private Integer enable;


}
